package com.hisan.freeride.home.model;

import com.hisan.freeride.common.model.BaseModel;

/**
 * 创建时间 : 2017/12/2
 * 创建人：yangyingqi
 * 公司：嘉善和盛网络有限公司
 * 备注：保险模板
 */
public class Insurance extends BaseModel {


    /**
     * id : 37
     * safety_id : 1
     * order_no : 2017120155981005
     * user_id : 220
     * order_status : 0
     * create_time : 2017-12-01 14:28:55
     * safety : {"id":1,"title":"平安乘客意外伤害保险（2003）- 2元系列","price":2,"description":"意外伤害身故和残疾赔偿10万元，意外伤害医疗赔偿1万元。","content":"平安乘客意外伤害保险（2003），意外伤害身故和残疾赔偿10万元，意外伤害医疗赔偿1万元。"}
     */

    private int id;
    private int safety_id;
    private String order_no;
    private int user_id;
    private int order_status;
    private String create_time;
    private SafetyBean safety;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getSafety_id() {
        return safety_id;
    }

    public void setSafety_id(int safety_id) {
        this.safety_id = safety_id;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getOrder_status() {
        return order_status;
    }

    public void setOrder_status(int order_status) {
        this.order_status = order_status;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public SafetyBean getSafety() {
        return safety;
    }

    public void setSafety(SafetyBean safety) {
        this.safety = safety;
    }

    public static class SafetyBean {
        /**
         * id : 1
         * title : 平安乘客意外伤害保险（2003）- 2元系列
         * price : 2
         * description : 意外伤害身故和残疾赔偿10万元，意外伤害医疗赔偿1万元。
         * content : 平安乘客意外伤害保险（2003），意外伤害身故和残疾赔偿10万元，意外伤害医疗赔偿1万元。
         */

        private int id;
        private String title;
        private int price;
        private String description;
        private String content;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
}
